package com.atguigu.order.service;

import com.atguigu.order.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

/**
* @author kabuda
* @description 针对表【t_order(订单)】的数据库操作Service
* @createDate 2023-05-18 08:50:27
*/
@Service
public interface OrderService extends IService<Order> {

    String saveOrder(String courseId, HttpServletRequest request);
    boolean isBuy(String courseId,String memberId);
}
